/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package nxtmodel2;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Sensor</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link nxtmodel2.Sensor#getPort <em>Port</em>}</li>
 *   <li>{@link nxtmodel2.Sensor#getReadingProperties <em>Reading Properties</em>}</li>
 *   <li>{@link nxtmodel2.Sensor#getType <em>Type</em>}</li>
 *   <li>{@link nxtmodel2.Sensor#getSubtype <em>Subtype</em>}</li>
 * </ul>
 * </p>
 *
 * @see nxtmodel2.Nxtmodel2Package#getSensor()
 * @model
 * @generated
 */
public interface Sensor extends Part {
	/**
	 * Returns the value of the '<em><b>Port</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Port</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Port</em>' reference.
	 * @see #setPort(SensorPort)
	 * @see nxtmodel2.Nxtmodel2Package#getSensor_Port()
	 * @model required="true"
	 * @generated
	 */
	SensorPort getPort();

	/**
	 * Sets the value of the '{@link nxtmodel2.Sensor#getPort <em>Port</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Port</em>' reference.
	 * @see #getPort()
	 * @generated
	 */
	void setPort(SensorPort value);

	/**
	 * Returns the value of the '<em><b>Reading Properties</b></em>' reference list.
	 * The list contents are of type {@link nxtmodel2.Property}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Reading Properties</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Reading Properties</em>' reference list.
	 * @see nxtmodel2.Nxtmodel2Package#getSensor_ReadingProperties()
	 * @model
	 * @generated
	 */
	EList<Property> getReadingProperties();

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see #setType(String)
	 * @see nxtmodel2.Nxtmodel2Package#getSensor_Type()
	 * @model
	 * @generated
	 */
	String getType();

	/**
	 * Sets the value of the '{@link nxtmodel2.Sensor#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see #getType()
	 * @generated
	 */
	void setType(String value);

	/**
	 * Returns the value of the '<em><b>Subtype</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Subtype</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Subtype</em>' attribute.
	 * @see #setSubtype(String)
	 * @see nxtmodel2.Nxtmodel2Package#getSensor_Subtype()
	 * @model
	 * @generated
	 */
	String getSubtype();

	/**
	 * Sets the value of the '{@link nxtmodel2.Sensor#getSubtype <em>Subtype</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Subtype</em>' attribute.
	 * @see #getSubtype()
	 * @generated
	 */
	void setSubtype(String value);

} // Sensor
